github.com/cespare/xxhash/v2.Digest.n (field)
12 uses
github.com/cespare/xxhash/v2 (current package)
xxhash.go#L36: n int // how much of mem is used
xxhash.go#L65: d.n = 0
xxhash.go#L79: memleft := d.mem[d.n&(len(d.mem)-1):]
xxhash.go#L81: if d.n+n < 32 {
xxhash.go#L84: d.n += n
xxhash.go#L88: if d.n > 0 {
xxhash.go#L96: d.n = 0
xxhash.go#L107: d.n = len(b)
xxhash.go#L145: b := d.mem[:d.n&(len(d.mem)-1)]
xxhash.go#L184: b = append(b, d.mem[:d.n]...)
xxhash.go#L185: b = b[:len(b)+len(d.mem)-d.n]
xxhash.go#L204: d.n = int(d.total % uint64(len(d.mem)))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |